package com.bsoft.gol.hcs.his.service;

import ctd.controller.exception.ControllerException;
import ctd.util.annotation.RpcService;
import hcn.util.BaseResponse;
import com.bsoft.gol.hcs.his.bean.crucial.request.QueryCrucialRecordRequest;

/**
 * @Author: lanyu
 * @Description: 关联指标his处理service
 * @Date: create in 2022/7/12 10:46
 */
public interface ICrucialHisService {

    /**
     * 同步关联指标信息
     * @param request
     * @return
     * @throws ControllerException
     */
    @RpcService
    BaseResponse syncCrucialIndexRecordHis(QueryCrucialRecordRequest request) throws ControllerException;

    /**
     * 同步检验指标信息
     * @param request
     * @return
     * @throws ControllerException
     */
    BaseResponse syncInspectCrucialRecordsHis(QueryCrucialRecordRequest request)throws ControllerException;

    /**
     * 同步检验分类信息
     * @param request
     * @return
     * @throws ControllerException
     */
    BaseResponse syncInspectClassifyRecordsHis(QueryCrucialRecordRequest request)throws ControllerException;

    /**
     * 同步检验样本信息
     * @param request
     * @return
     * @throws ControllerException
     */
    BaseResponse syncInspectSampleRecordsHis(QueryCrucialRecordRequest request)throws ControllerException;

    /**
     * 同步检查分类信息
     * @param request
     * @return
     * @throws ControllerException
     */
    BaseResponse syncExamClassifyRecordsHis(QueryCrucialRecordRequest request)throws ControllerException;
    /**
     * 同步结果性质信息
     * @param request
     * @return
     * @throws ControllerException
     */
    BaseResponse syncCrucialResultRecordHis(QueryCrucialRecordRequest request) throws ControllerException;
}
